package com.gpscookie.redpanic;

import android.graphics.Color;

public class MissleRedDot extends LinearRedDot {

	public MissleRedDot(float beginx, float beginy, float endx, float endy,
			float sd) {
		super(beginx, beginy, endx, endy, sd);
		this.paint.setColor(Color.rgb(139, 26, 26));
	}

	@Override
	public void step() {
		k = (World.INSTANCE.player.getY()-by)/(World.INSTANCE.player.getX()-bx);
		k2 = (World.INSTANCE.player.getX()-bx)/(World.INSTANCE.player.getY()-by);
		super.step();
	}
}
